package com.ruoyi.calculation.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成本核算对象 erp_cost_calculation
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
public class ErpCostCalculation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工单号 */
    @Excel(name = "工单号")
    private String workOrder;

    /** 工单数量 */
    @Excel(name = "工单数量")
    private BigDecimal orderQuantity;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 物料规格 */
    @Excel(name = "物料规格")
    private String specification;

    /** 物料成本 */
    @Excel(name = "物料成本")
    private BigDecimal materialCost;

    /** 加工费用 */
    @Excel(name = "加工费用")
    private BigDecimal processingFee;

    /** 其他费用 */
    @Excel(name = "其他费用")
    private BigDecimal otherFees;

    /** 总成本 */
    @Excel(name = "总成本")
    private BigDecimal totalCost;

    /** 工具 */
    @Excel(name = "工具")
    private String tool;

    /** 工资 */
    @Excel(name = "工资")
    private BigDecimal salary;

    public void setWorkOrder(String workOrder) 
    {
        this.workOrder = workOrder;
    }

    public String getWorkOrder() 
    {
        return workOrder;
    }

    public void setOrderQuantity(BigDecimal orderQuantity) 
    {
        this.orderQuantity = orderQuantity;
    }

    public BigDecimal getOrderQuantity() 
    {
        return orderQuantity;
    }

    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }

    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }

    public void setMaterialCost(BigDecimal materialCost) 
    {
        this.materialCost = materialCost;
    }

    public BigDecimal getMaterialCost() 
    {
        return materialCost;
    }

    public void setProcessingFee(BigDecimal processingFee) 
    {
        this.processingFee = processingFee;
    }

    public BigDecimal getProcessingFee() 
    {
        return processingFee;
    }

    public void setOtherFees(BigDecimal otherFees) 
    {
        this.otherFees = otherFees;
    }

    public BigDecimal getOtherFees() 
    {
        return otherFees;
    }

    public void setTotalCost(BigDecimal totalCost) 
    {
        this.totalCost = totalCost;
    }

    public BigDecimal getTotalCost() 
    {
        return totalCost;
    }

    public void setTool(String tool) 
    {
        this.tool = tool;
    }

    public String getTool() 
    {
        return tool;
    }

    public void setSalary(BigDecimal salary) 
    {
        this.salary = salary;
    }

    public BigDecimal getSalary() 
    {
        return salary;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workOrder", getWorkOrder())
            .append("orderQuantity", getOrderQuantity())
            .append("materialName", getMaterialName())
            .append("specification", getSpecification())
            .append("materialCost", getMaterialCost())
            .append("processingFee", getProcessingFee())
            .append("otherFees", getOtherFees())
            .append("totalCost", getTotalCost())
            .append("tool", getTool())
            .append("salary", getSalary())
            .toString();
    }
}
